import axios from '@/utils/request'

export const setComment = data => axios.post('/v1_0/comments', data)
export const getComment = params => axios.get('/v1_0/comments', { params })
export const getLikeComment = id => axios.post('/v1_0/comment/likings', {target: id})
export const delLikeComment = id => axios.delete(`/v1_0/comment/likings/${id}`)